package com.onedec.materials.mapper;

import com.onedec.materials.entity.OnedecReceipt;
import com.onedec.materials.entity.OnedecReceiptExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface OnedecReceiptMapper {
    long countByExample(OnedecReceiptExample example);

    int deleteByExample(OnedecReceiptExample example);

    int deleteByPrimaryKey(Integer receiptId);

    int insert(OnedecReceipt record);

    int insertSelective(OnedecReceipt record);

    List<OnedecReceipt> selectByExample(OnedecReceiptExample example);

    OnedecReceipt selectByPrimaryKey(Integer receiptId);

    int updateByExampleSelective(@Param("record") OnedecReceipt record, @Param("example") OnedecReceiptExample example);

    int updateByExample(@Param("record") OnedecReceipt record, @Param("example") OnedecReceiptExample example);

    int updateByPrimaryKeySelective(OnedecReceipt record);

    int updateByPrimaryKey(OnedecReceipt record);
}